<?xml version="1.0" encoding="UTF-8"?>

<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:p="http://primefaces.org/ui"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:c="http://java.sun.com/jsf/jstl/core"
	>
<head>
<title>Should Be Ignored</title>
</head>
<body>

	<!-- Note that the "template" attribute of this element indicates that
             the /WEB-INF/includes/template.xhtml is used as a template -->
      	<ui:composition template="../includes/template.xhtml">

		<ui:define name="mainbody">

			<center>
				<h:outputText value="#{sessionScope['user'].name} logged in as #{sessionScope['user'].role.roleName}" />
				<p:panel header="Home" style="min-height: 550px">
				 <ui:repeat var="name" value="#{loginBean.names}" varStatus="row" iterStatus="loop">  
                    <h:outputLabel value="#{name}" />
                    </ui:repeat>
					<table border="0">
					
					</table>
				</p:panel>
			</center>
		</ui:define>
	</ui:composition>
	
</body>
</html>